<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
  </head>
  <body>
    <script type="text/javascript" src="/js/ajax.js"></script>
    <script type="text/javascript">
      // a1
      ajax({
        type: 'get',
        url: 'http://localhost:3001/test',
        success: function (res) {
          console.log('成功', res)
        }
      })
    </script>
  </body>
</html>
